package cn.com.ldtx.biz.datadownload;

import java.util.List;

import cn.com.ldtx.dao.download.Download;
import cn.com.ldtx.entity.download.DataDownload;

public class DataDownloadbiz {
	private Download download=new Download();
	public List<DataDownload> findall(){
		
		return download.findAll();
	}
	public List<DataDownload> findbytype(int dType){
		
		return download.findbytype(dType);
	}
	public DataDownload findone(int id){
		return download.findOne(id);
	}
	public void insert(DataDownload dataDownload){
		
		download.insert(dataDownload);
	}
	public void update(DataDownload dataDownload){
		download.update(dataDownload);
	}
	public void delete(int id){
		
		download.dele(id);
	}
}
